import Mock from 'mockjs'
const data=Mock.mock({
    "list|15":[{
        "title":'@ctitle(4)',
        "children|10":[{
            'id':'@id',
            'image':'@image(100X100,@color)',
            'title':"@ctitle(3,6)",
            'num':10,
            'price|10-50':10
        }]
    }],
    "swiper|5":[{'image':"@image(200X200,@color)"}]
})
Mock.mock("/list",()=>{
    return data
})